package com.k.sshm.boot.extra.squirrel.order.service;

import com.k.sshm.boot.extra.squirrel.order.conf.OrderDTO;
import com.k.sshm.boot.extra.squirrel.order.conf.OrderState;
import com.k.sshm.boot.extra.squirrel.order.dao.OrderDTOMapper;
import org.springframework.stereotype.Service;

@Service
public class OrderService {

    //@Autowired
    OrderDTOMapper orderDTOMapper;

    public int submitOrder(OrderState state) {
        OrderDTO orderDTO = new OrderDTO();
        orderDTO.setState(state);
        //orderDTOMapper.insert(orderDTO);
        return 1;
    }

}
